<template>
  <div class="h-panel">
    <PaasIndexBar></PaasIndexBar>
    <PaasPageTable :config="config" :columns="columns"></PaasPageTable>
  </div>
</template>

<script>
import PaasPageTable from "@/components/PaasPageTable";
import PaasIndexBar from "@/components/PaasIndexBar";
export default {
  mounted() {},
  components: {
    PaasPageTable,
    PaasIndexBar,
  },
  data() {
    return {
      config: {},
      columns: [
        { title: "参数名称", prop: "title" },
        { title: "参数值", prop: "keyId" },
        { title: "分组名称", prop: "groupName" },
        { title: "分组编号", prop: "groupId" },
        { title: "其它值", prop: "otherValue" },
      ],
    };
  },
  methods: {
    refresh() {
      this.$axios.post(this.$$store.menus.current + "/refresh").then((res) => {
        this.$Message.success(res.data.msg);
      });
    },
  },
};
</script>